// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

import ElementUI from 'element-ui';

// // 引入图标，只引入  solid 格式
// import { library } from '@fortawesome/fontawesome-svg-core'
// import { fas } from '@fortawesome/free-solid-svg-icons'
// import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
// library.add(fas);
//
// Vue.component('font-awesome-icon', FontAwesomeIcon)

// elementui 框架
import 'element-ui/lib/theme-chalk/index.css';

// 原子样式和全局样式
import '@/assets/css/global.css'
import '@/assets/css/atom.css'
import '@/assets/css/bootstrap.css'

Vue.config.productionTip = false

Vue.use(ElementUI);


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
